home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Atari Mega Archive 1
/
Atari Mega Archive - Volume 1.iso
/
gnu
/
updates
/
update24.zoo
/
lib
/
diffc
< prev
next >
Wrap
Text File
|
1992-08-14
|
7KB
|
252 lines
*** 1.79 1992/07/20 21:54:54
--- Changelo 1992/08/14 14:43:45
***************
*** 3204,3206 ****
--- 3204,3265 ----
problem.
---------------------------- Patchlevel 82 ---------------------------
+
+ crt0.c:: ++jrb
+ add extern references to ident strings for all libraries
+ so that the libraries that are linked in have their ident
+ strings linked into the executable. (so that ident <executable>
+ reveals all Patchlevels of all things linked in).
+ For satisfying the references of the libraries that are not linked
+ we include dummy symbols in gnu.olb.
+
+ il.c ic.c iw.c ig.c ip.c:: ++jrb
+ the files containing dummies.
+
+ mincl:: ++jrb
+ add targets for above.
+
+ limits.h: alexander
+ I did some further investigating into the LONG_MIN problem and
+ I found out why the native gcc on my NeXT did create correct
+ code while the ST version didn't. The new gcc installs a limits.h
+ file that first includes the system limits.h and the redefines
+ some of the constants. LONG_MIN is defined as -LONG_MAX-1 which
+ is of course equal to -2<<31, but somehow compiles correctly.
+ I changed the ST limits.h defined the constant the same way and I
+ added the definition for long long limits from the gcc2.x limits.h.
+ This will probably be never used, but it can't hurt, I guess.
+
+ stricmp.c strnicmp.c:: alexander
+ case-insensative verions of strcmp and strncmp. good for
+ TC compatibility.
+
+ mincl:: ++jrb
+ add targets for above
+
+ string.h:: ++jrb
+ add protos for above.
+
+ binmode.c:: ++jrb
+ pull __default_mode__ out into its own module.
+
+ defmode.c:: ++jrb
+ new file, defining __default_mode__, so that it may be pulled in
+ from here when undefined by user. previously it was
+ bundled in with binmode, that caused binmode() to be pulled
+ in along with it.
+
+ mincl:: ++jrb
+ add target for above.
+
+ fwrite.c:: ++jrb
+ when writing out in text mode was returning len+#of CR's in
+ buffer, instead of just len of buffer. this showed up with
+ ghostscript 2.41. To fix this, we compensate by decrementing
+ the counter `l' when we add a CR since `l' is incremented
+ at the bottom of the loop. We could have also fixed by checking
+ `wrote_cr' before incrementing `l' but we dont because mostly
+ this condition would be false and we would have more overhead
+ in the common case.
+
+ ---------------------------- Patchlevel 83 ---------------------------
*** 1.58 1992/07/20 21:54:54
--- PatchLev.h 1992/08/14 14:43:46
***************
*** 1,5 ****
! #define PatchLevel "82"
/*
*
--- 1,5 ----
! #define PatchLevel "83"
/*
*
*** 1.21 1992/03/22 21:57:30
--- crt0.c 1992/08/14 14:43:49
***************
*** 121,126 ****
--- 121,139 ----
/* are we on a split addr mem ST */
short _split_mem = 0;
+ /* externs to pull in ident strings of all used libraries into the
+ executable. if a library is not used, then the extern is satisfied
+ by a dummy in the library
+ */
+ asm("
+ .globl ___Ident_libg
+ .globl ___Ident_curses
+ .globl ___Ident_widget
+ .globl ___Ident_gem
+ .globl ___Ident_pml
+ .globl ___Ident_gnulib
+ ");
+
static void _acc_main __PROTO((void));
static void _start1 __PROTO((BASEPAGE *bp));
static long parseargs __PROTO((BASEPAGE *bp));
*** 1.22 1992/04/06 19:33:32
--- main.c 1992/08/14 14:43:52
***************
*** 66,72 ****
register FILE *f;
register int i;
char *s, *t, *new;
! extern int __default_mode__; /* in binmode.c or defined by user */
int main(int, char **, char **);
_start_time = 0; /* for dumped prgs */
--- 66,72 ----
register FILE *f;
register int i;
char *s, *t, *new;
! extern int __default_mode__; /* in defmode.c or defined by user */
int main(int, char **, char **);
_start_time = 0; /* for dumped prgs */
*** 1.20 1992/06/01 01:57:48
--- mincl 1992/08/14 14:43:52
***************
*** 15,21 ****
GCC= $(GLIB1) $(GLIB2) \
ldexp.o frexp.o modf.o alloca.o setjmp.o osbind.o\
linea.o alglobal.o sysvar.o gmon.o screen.o stksiz.o binmode.o \
! bblink.o
#
# ANSI stuff + support
ANSI = atol.o atof.o abort.o bsearch.o \
--- 15,21 ----
GCC= $(GLIB1) $(GLIB2) \
ldexp.o frexp.o modf.o alloca.o setjmp.o osbind.o\
linea.o alglobal.o sysvar.o gmon.o screen.o stksiz.o binmode.o \
! bblink.o defmode.o
#
# ANSI stuff + support
ANSI = atol.o atof.o abort.o bsearch.o \
***************
*** 36,43 ****
# other portable stuff
PORT = alphasor.o abs.o catch.o dirent.o findfile.o ftw.o getpw.o \
getlogin.o getopt.o getpass.o ident.o mktemp.o scandir.o strlwr.o \
! strrev.o regexp.o regsup.o textio.o random.o obstack.o
!
#
# the string library
--- 36,43 ----
# other portable stuff
PORT = alphasor.o abs.o catch.o dirent.o findfile.o ftw.o getpw.o \
getlogin.o getopt.o getpass.o ident.o mktemp.o scandir.o strlwr.o \
! strrev.o regexp.o regsup.o textio.o random.o obstack.o \
! il.o ic.o iw.o ig.o ip.o
#
# the string library
***************
*** 44,50 ****
STRING = strcat.o strchr.o strcmp.o strcpy.o strcspn.o strdup.o \
strlen.o strncat.o strncmp.o strncpy.o strpbrk.o strrchr.o strspn.o \
strtok.o strstr.o memccpy.o memcmp.o memchr.o \
! bcopy.o bcmp.o bzero.o strerror.o strcoll.o
#
# stuff to fake unix system calls
--- 44,51 ----
STRING = strcat.o strchr.o strcmp.o strcpy.o strcspn.o strdup.o \
strlen.o strncat.o strncmp.o strncpy.o strpbrk.o strrchr.o strspn.o \
strtok.o strstr.o memccpy.o memcmp.o memchr.o \
! bcopy.o bcmp.o bzero.o strerror.o strcoll.o \
! stricmp.o strnicmp.o
#
# stuff to fake unix system calls
*** 1.1 1991/12/26 15:53:59
--- binmode.c 1992/08/14 14:56:29
***************
*** 7,21 ****
* ++jrb;
*/
- /* moved to a separate module, so that people who want to can put
- * __default_mode__ = _IOBIN in their main program without getting
- * a link conflict; moreover, this allows stdin and stdout to be
- * binary mode by default as well. ++ERS
- */
#include <stdio.h>
! int __default_mode__ = 0;
void _binmode(force)
int force;
--- 7,16 ----
* ++jrb;
*/
#include <stdio.h>
! extern int __default_mode__;
void _binmode(force)
int force;
*** 1.11 1992/06/01 01:54:10
--- fdopen.c 1992/08/14 14:56:32
***************
*** 9,15 ****
register int h;
const register char *mode;
{
! extern int __default_mode__; /* see binmode.c */
register int i, iomode = 0, f = __default_mode__;
register FILE *fp = NULL;
void _getbuf __PROTO((FILE *));
--- 9,15 ----
register int h;
const register char *mode;
{
! extern int __default_mode__; /* see defmode.c */
register int i, iomode = 0, f = __default_mode__;
register FILE *fp = NULL;
void _getbuf __PROTO((FILE *));
*** 1.11 1992/03/28 06:40:31
--- fwrite.c 1992/08/14 14:56:35
***************
*** 86,91 ****
--- 86,92 ----
*fp->_ptr++='\r';
wrote_cr=1;
have_nl=1;
+ l--; /* compensate for the increment below */
} else {
*fp->_ptr++='\n';
data++;
*** 1.1 1991/05/30 04:09:55
--- ident.c 1992/08/14 14:56:38
***************
*** 1,2 ****
#include "PatchLev.h"
! static char Ident[] = "$Patchlevel: " PatchLevel " $";
--- 1,2 ----
#include "PatchLev.h"
! char __Ident_gnulib[] = "$PatchLevel: atariST/TT-TOS Gnulib: " PatchLevel " $";